<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
    <class name="cn.ffcs.contract.model.VContractInfo" table="V_Contract_Info">        
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="increment"/> 
        </id>
        <property name="contractName" type="java.lang.String">
            <column name="contract_Name" length="128" not-null="true" />
        </property>
        <property name="serial" type="java.lang.String">
            <column name="serial" length="32" not-null="true" />
        </property>
        <property name="signatoriesName" type="java.lang.String">
            <column name="signatories_Name" length="256" not-null="true" />
        </property>
        <property name="creator" type="java.lang.String">
            <column name="creator" length="32" not-null="true" />
        </property>
        <property name="creatorName" type="java.lang.String">
            <column name="creator_name" length="32" not-null="true" />
        </property>
        <property name="begin" type="java.util.Date">
			<column name="BEGIN" length="7" />
		</property>
		<property name="end" type="java.util.Date">
			<column name="END" length="7" />
		</property>
		<property name="nextUser" type="java.lang.String">
			<column name="next_user" length="128"/>			
		</property>
		<property name="status" type="java.lang.String">
			<column name="status" length="50"/>			
		</property>
		<property name="submitTime" type="java.util.Date">
			<column name="SUBMIT_TIME" length="7" />
		</property>
        <property name="effectTime" type="timestamp">
            <column name="effect_Time" length="32" not-null="true" />
        </property>
        <property name="maturityTime" type="timestamp">
            <column name="maturity_Time" length="3" not-null="true" />
        </property>
        <property name="postponeTime" type="timestamp">
            <column name="postpone_Time" length="64" not-null="true" />
        </property>
        <property name="potency" type="java.lang.String">
            <column name="potency" length="32" not-null="true" />
        </property>
        <property name="signCode" type="java.lang.String">
			<column name="sign_code" length="50">
				<comment>会签编号</comment>
			</column>
		</property>
        <property name="thirdName" type="java.lang.String">
			<column name="THIRD_NAME" length="128">
				<comment>第三方名称</comment>
			</column>
		</property>
		<property name="hezuoContent" type="java.lang.String">
			<column name="HEZUO_CONTENT" length="256">
				<comment>合作内容</comment>
			</column>
		</property>
		<property name="hezuoContentInfo" type="java.lang.String">
			<column name="HEZUO_CONTENT_INFO" length="3000">
				<comment>合作内容简要说明</comment>
			</column>
		</property>
		<property name="hezuoMode" type="java.lang.String">
			<column name="HEZUO_MODE" length="64">
				<comment>合作模式</comment>
			</column>
		</property>
		<property name="hezuoModeInfo" type="java.lang.String">
			<column name="HEZUO_MODE_INFO" length="3000">
				<comment>合作模式具体说明</comment>
			</column>
		</property>
		<property name="contact" type="java.lang.String">
			<column name="CONTACT" length="32">
				<comment>对方联系人</comment>
			</column>
		</property>
		<property name="contactTel" type="java.lang.String">
			<column name="CONTACT_TEL" length="32">
				<comment>对方联系电话</comment>
			</column>
		</property>
		<property name="notes" type="java.lang.String">
			<column name="NOTES" length="3000">
				<comment>备注</comment>
			</column>
		</property>
        <many-to-one name="contractType" column="contract_type" class="cn.ffcs.system.dict.model.Dict" unique="true" lazy="false"/>
    </class>
</hibernate-mapping>